function Broggok_OnCombat(Unit, Event)
Unit:SendChatMessage(14, 0, "Venez intrus ...")
Unit:RegisterEvent("Broggok_Spell1", 6000, 0)
Unit:RegisterEvent("Broggok_Spell2", 2000, 0)
Unit:RegisterEvent("Broggok_Spell3", 6000, 0)
end

function Broggok_Spell1(Unit, Event)
Unit:FullCastSpellOnTarget(30917, Unit:GetRandomPlayer(0))
end

function Broggok_Spell2(Unit, Event)
Unit:CastSpell(30916)
end
function Broggok_Spell3(Unit, Event)
Unit:FullCastSpellOnTarget(30913, Unit:GetRandomPlayer(0))
end

function Broggok_OnLeaveCombat(Unit, Event)
Unit:RemoveEvents() 
end

function Broggok_OnKilledTarget(Unit, Event)
end

function Broggok_OnDied(Unit, Event)
Unit:RemoveEvents() 
end

RegisterUnitEvent(17380, 1, "Broggok_OnCombat")
RegisterUnitEvent(17380, 2, "Broggok_OnLeaveCombat")
RegisterUnitEvent(17380, 3, "Broggok_OnKilledTarget")
RegisterUnitEvent(17380, 4, "Broggok_OnDied")